#ifndef MOOFILE_H
#define MOOFILE_H


#include "MooCpp.h"

class MooFile
{
public:
    typedef enum{UNEXISTS = 1} MoofileError;
public:
    static void write(string filePath, string content, bool append = false);
    static bool isExists(string filePath);
    static void touch(string filePath);
    static void cp(string fromPath, string toPath);
    static void mv(string fromPath, string toPath);
    static void rm(string filePath);
    static string readAll(string filePath);

};

#endif // MOOFILE_H
